Repository navigation
pm-console: order older held actions against newer edge-executed ones - #13652
Conversation
When the edge executes a kind itself and an older held action about the same subject was never handed to a machine, the edge does the older one itself first under its own name (or drops it as replaced for last-wins issue.rank). A held action already handed to a machine in a report answer blocks the newer one instead, which waits behind it. A settled relayed action drops its stale hold so a later retry does not re-execute it here. Same-name retries always go back to the host, which dedups them. Related issue: #13398
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Evidence for queue task 21419 (lane oc-code-02, revalidated fresh 2026-11-23 ~22:40Z; no merge performed here — Archer merges). PR head verified: b7f00be (unchanged). Checks: no failing required CI (CodeRabbit/Proof skipping). No competing open PR covers #13398. Full evidence record on the issue: #13398 (comment) Summary: handed set in edge KV; older-first/replaced/blocked ordering in the act route; settled relayed actions drop stale holds. Tests: bun test test/edge.test.ts 112 pass, 0 fail, including the four new ordering tests. READY TO MERGE (Archer merges). |
Implements the ordering in #13398 (see that issue for the spec and evidence pointer).
What changes:
Verification: bun test test/edge.test.ts in pm-stack/console: 112 pass, 0 fail.
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-23T19:38:07Z", "session_id": "ses_e5df655c3b1ffeX2sOGrq3PCJD", "lane": null, "host": "amd", "worktree": "/home/user/git/fleet/oc-code-08-13398-20261123T185609Z-72db6060", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/fleet/oc-code-08-13398-20261123T185609Z-72db6060", "repo": "developing-today/code", "branch": "lane-oc-code-08-13398", "sha": "b7f00be4c0e7a6cb604ca932bd9b7f7a6f17df74" }, "auth_subject": "oc-code-02", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.